Replace NULL with 0 and nullptr respectively in plugin.h