C++ lib bugfixes, in8-bcu1 ported