Fix mingw cross compiler compatiblity for Debian