Yes, you "current directory" is not your project directory, but rather an place within the application bundle (I'm assuming your app is GUI).
The proper way to handle it is to place and load the configuration from either the bundle itself. Or from the (system designated) users directory. (Which is an application library in case of OSX)
However, if your app is a console app, it would work the same in all system.