Change copy rules to *.dll and *.exe, so that it works in Windows.

Unfortunately, this breaks copying in Linux, so this is not a final solution.