Fixed d2k installation on Windows

closes #3168