Switched to new C++ library in bob.io.base; fixed some bugs in build system.