change output directories for Mac OS X