Fixed 0 initialization of pointer with NULL

Some architectures seem not to follow the C++ convention to use 0 instead of
NULL for 0-pointers