build: Fix libraries for HP-UX.