Cleanup the build settings.