fixed bug that load wrong config on non-cygwin.