Added include for stdlib.h