fixed build for rub in msys2 on Windows