fix ldc-developers/ldc#651

The error in windows.d doesn't happen with git dmd.
So I guess I'll leave for after the 2.066 merge?