replace null_ptr<>() with nullptr
VC: fix some compiler errors