Define NULL instead of using stdlib.h