Fixes for building on AIX. Also, build openssl 1.0.1i