fix macos version

dnc could not access the config file, because the current directory was /
Merge pull request #58 from duthils/fix-macos

fix macos version