Patches for compilation problem solution for HP-UX! [sf#635536] [#166]