Allow building on Win using MinGW