buildfix on MSYS