Restored build in cmd.exe environment.

... by re-applying change https://github.com/contiki-os/contiki/commit/f3cf57e41b277beebd353a4d76aba2359868b361 which was reverted recently.