hardcode os.name for Mac to remove spaces