Mingw needs malloc.h