Fix VS project generator dynamic module .def generation and msvc compliance.
Update VS project for recent progect generator updates.