Fix install directory on Mac OS X
Merge pull request #2368 from tom-tan/fix-install-dir-on-osx

Fix install directory on Mac OS X