removing #ifndef swig from genericType constructors, see #867