fix PathUtils unitest to work on OSX