fix dependency issues in BuildConfig