cleaned up macosx configuration