Removing 'malloc.h' since it can be replaced with 'stdlib.h'. No need for custom Mac OS X-specific code anymore.