Fixed build system

- Downgraded WiX to latest stable (v3.9)
- Corrected the build configurations