Made it OSX compatible