cross platform configuration check for headers, malloc.h do not have to be specified in mac