Final fixes for Agros to work on Windows.