Add aix to list of OSes. Don't add -m32 for AIX. Don't add -rdynamic to link line.