Workaround runtime problem in cygwin