Improve build settings for performance