Fixed ParallelSim compilation errors.