Clean up all build warnings, in preparation for Illumos 4522.
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Theo Schlossnagle <jesus@omniti.com>