fix windows header typo
fix mingw compilation