add include stdlib.h
Merge pull request #5 from ajido/master

fix build errors on centos 5 with gcc 4.2