bugfix: replace nullptr with NULL:

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>