Fix user path expansion in Cygwin