Revert "cleanups the os x path"

This reverts commit 22dcad59aca202a70ebb2e4964e623e5dc5c9ad8.