fix OS X path