Fix buildConfig