build: Only add version minimum flag under xcode 5

We might still need a flag under previous versions
build: Fix simulator build in xcode 4.6 and older
build: Fix build failure when cmake path contains spaces
Merge topic 'xcode-compatibility'

4bd8e21 build: Fix build failure when cmake path contains spaces
aa362b4 build: Fix simulator build in xcode 4.6 and older
a757e00 build: Only add version minimum flag under xcode 5