Since Cell class is exported, a compilation failure appeared due to how MSVC handles exported classes with a template specialization in its inheritance tree (it's actually completely instantiated). This leads to multiple symbols defined in octinterp.dll. The easiest fix is to avoid to include Cell.h in oct-stream.cc; hence the attached patch.