Fix compilation error for osx.

Without specifying the osx deployment target you are not able to pod
install on osx.