fix some windows build issues and #169

Fixes #169 by ignoring the activation key.