Add fix for use MinGW GCC 4.7.1 compiler