Fix up build settings.