Redmine #4904: Fix incorrect ifdef test on HPUX.