Fix includes and macros so that cmake generates the XCode project without includes and libraries explicit paths.