Added missing ifdef that allows multithreaded pipes to be built.