add mingw hash check