Build configuration based on environment