Fix project, especially build settings