[disjoint] fix compilation error on darwin gcc 4.2.1