[gandalf] Fixes and improvements in Jenkins batch. Added Jenkins configs for Win32 and OSX builds.