fix(util): compilation problems when using msys2

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>