add dynamic path for the default config file

By doing that, operating systems like *BSD or OSX which don't have config files
for third party programs in /etc can be better supported.