fix windows cross-compile via another hack