hooks for osx specific things