No need to include malloc on OS X.
Replaced malloc.h include with stdlib.h
Merge pull request #414 from MazterQyou/macfix

Replace inclusion of ``malloc.h`` with ``stdlib.h``.

``malloc.h`` is a deprecated header file, and specific to Linux (http://stackoverflow.com/a/12973361)