fix some build settings