Make it OSX compatible (not tested though!)