Added missing stdlib.h include statement.
Added missing cstring include statement.