fix dependency issue in BuildConfig