Needed for osx