implement different malloc wrappers with "define magic"