Fixed gcc bugg in HuygensSimulator.