Fixed an error uncovered only by MinGW (only by that? amazing)