refactoring build settings.