Progress on multi-platform build

Got sidetracked re-writing the script and fixing mulit-slice issues :(