Add support for Mac OS X (fixing issue #1)

As described in https://github.com/iagox86/hash_extender/issues/1