fixed double define of None

* #undef None in viewer.h