Fix incompatibilities between tr2 and boost fs