Fixed undefined reference in in Barrier.