put back osx condition as it resulted in lantern not full loading for some reason