Fixed some problems on cmake on Xcode