cmake fixes for Xcode 6

Use latest available OS X sdk with deployment target set to 10.8