Remove osx-specific code.  Fixes #2