If you want to build a Windows exe on Linux, you can also just run the windows version of dmd in wine.