Wiedemann/windows adaptions
Adaptions needed to make the project compile on windows without WSL using Visual Studio Build Tools 2019. These changes should all be incapsulated by ifdefs for only affecting windows. Additionally, minor changes to remove many of the warnings.