Added PROFILE_GetConfigDir function.