Fixed dependency issue for rosgraph.