Make config dirs compatible with Windows