Fixed MinGW compile error.