optimize build process for xcode
Merge branch 'master' of https://github.com/mamoli/baenkli