Fixed startup problem outside Xcode on Mac OS X; the problem was due that when the an application is launched from the Finder, the current working directory is set to /.
Authored by: merry75 2015-12-15
Parent: [r396]
Child: [r398]