Fix paths for OS X.