Reworked AIX stuff