make this handle redefinition of malloc with different prototype correctly.