Removed the AC_FUNC_MALLOC as this causes compilation trouble for ARM