Try to remove the direct dependency on PathTool.
rebuild