fixes for XCode 4.6 project