Make Block.h compile with c++ compilers