Correct issue on Mac OS X running in non root (issue #423)