WIP: attempt to get compilation working under MinGW-w64