Adds the use of regexs to parse vcxproj flags

Specifically, makes /wd flags work.

Changes along the way:
* Fixes initialization errors in vcxproj generation
* Makes sure retable is set if not given as an arg