fix some issues & some build modifications

* switch to win sdk 7.1 compilers
* build for x64 because that solves an issue with GetModuleFileNameEx
* silence warnings or fix them where applicable
* switch warning level to L4