Fixed build with XCode