Fixed clang compile. If on OSX use commonCrypto instead of openSSL.