[FIX] fixed small bugs preventing a build on windows

After setting up our VM again, some errors occured for Windows. This should fix it.