BlockSparseMatrix can not be compiled

The BlockSparseMatrix in unsupported can not be used now. The first problem I meet in the compilation is the ProductBase which is deprecated.