Fixed MinGW32 compile thx to pipelkas comments by reverting some defines