add support for build with xcode