add hp-ux specific check from glib