refs #1273: fixed compilation on MinGW and Cygwin

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@7086 7ce873d0-865f-4ce7-a662-4bb36ea78beb