macosx: include malloc.h only under a linux