Fixes issues pointed by Themaister

configure option is now --global-config-dir