tophat: Fails to build with clang

segment_juncs.cpp:50:17: error: expected namespace name
using namespace __gnu_cxx;

Closes #443