Fix building QVM's when cross-compiling under Cygwin