fix configure malloc