OC-10075: AIX Build support, optimization workaround for ruby core dump issues

From https://github.com/opscode/omnibus-software/pull/96.