Fixed some build settings.