Fix a few windows issues
Created by: Chiel92
This PR fixes three issues for windows.
- Add missing
agissimple
function tocgraph.def
- Fix "attr_widgets.dot is not a Word Document." error while diffing
- Fix the
flex
build command also in the Release Configuration. (My previous PR only fixed it for the Debug Configuration).