Fix build on SunOS.
Fix build (see joyent/pkgsrc/pull/113)