Tidy up vs2012 build and add build.bat
added nodefaultlib:msvcrtd to template in release since curl was using deprecated functions which resulted in linking of oldnames.lib which is linked against msvcrtd