JBQA-8699 fixes to 4.17

Modified some scripts and added new ones to run on windows, solaris and hp-ux