Fix for OSX directory path