Attempt to make tool MAC OSX compatible