Fix GC/malloc redefinition