Revert "Merge pull request #2064 from ibuclaw/cleanport"

This reverts commit df228b4756d2cbc02929e2f61a95169d870df415, reversing
changes made to 07909949f81479425cd89c74ba2a617b6f85d0eb.

Changes needed to compile dmd with compilers like Microsoft C++.