Now compiles on HP-UX

Added necessary changes to configure.in and config.h to support compiling
on HP-UX.