make cross-compilable with MinGW on Linux