Fixed build issue with non defined NULL