Fix for GCC which does not know where malloc is.