sunos: fix build breakage introduced in e3a657c
aix: fix build breakage introduced in 3ee4d3f

Possibly, anyway - this change is untested. Without it, libuv
definitely won't build on AIX though.