fix for HP-UX building