Set working directory for OS X