Fix compilation (define NULL).