path-macosx: attempt to fix build

Untested... no OSX here.