Fix environment BuildConfig