Add stdlib.h to fix atoi compile error