prep for JPS
last build was broken for cs as there is a current bug than does not allow untyped to be used. polygonal-ds has one line that uses this so i had to include a 1line modification of that library. CS also does not currently support the haxe anonymous functions very well, so i had to add CS own System.func classes to allow it to be used
commit ds changes and build.bat deletion
more fixes for cs compiling