[genproj] Steps towards making pre-build scripts cross platform;   Lots more build now