Fixed libc implementation of malloc.