Bug fix when running on 64-bit cygwin (%WINDIR%\Sysnative not available).