Support compilation using MinGW on Linux.