stub functions querying the glibc malloc() api on non-linux systems

Note that this isn't exactly correct - should probably test for glibc rather than Linux in case of alternative malloc()/libc on Linux.
use stdlib.h rather than malloc.h to support non-glibc systems
Merge pull request #3 from matthb2/ifdef_linuxisms

Remove some Linux-isms to allow builds on other platforms