Fix 323 builds

Fixes builds on HPUX 11iv3 using aCC and builds using older versions of GCC