MingGW compatibility