Fix compilation for missing NULL declaration.