fix build when tor version >= 0.2.5.0

refs #110