stop using Gestalt on OS X

This function has been deprecated for a while and is not even part of
the latest SDK, so it's time to say goodbye.
Merge pull request #159 from dicej/no-more-gestalt

stop using Gestalt on OS X