added -lstdc++ to build on Ubuntu 13.04.