fix the test suite
fix undirected_graph w.r.t. recent versions of boost

Code copied back from Roby's BGL wrappers