Some stuff to be able to use XCode as IDE