From http://blogs.perl.org/users/mark_leighton_fisher/2013/08/a-simple-minded-windows-sudo-substitute-for-cygwin.html