Fix NULL not defined.