Fix build on illumos.

Fix iperf build on illumos (http://wiki.illumos.org/display/illumos/About+illumos).