Allow shared builds for aix[64]-gcc targets.