make pathfinder module compileable