patches to build on AIX