Windows: Fix cygwin64 build

* Issue reported by Thejus