Fixing up building in VS, moved cygwin call to batch file