Guess the correct config directory on *nix and Windows.