NS3 library with no rate limit.

When compiling the switch as a ns3 library, skip log_rate_limit so the simulator can dump all log messages. This is not a problem, as in simulation the real-time performance is not a constraint.