Fix NULL redefinition warning