restore WDK 8 to path and add some error actions to avoid output contamination

There are two separate changes here in different patches. They each address an issue raised in https://github.com/OpenXT/openxt/issues/21