Fix compilation with MinGW 4.8