tweak recompile.sh and default random generator setup code to fix x32 system operation