Revert the two last commits
f9841b0f and e0f45add They break the windows build, which shows there's something defenitely fishy going on with the current code, but oh well, someone with more time needs to figure out a proper solution
f9841b0f and e0f45add They break the windows build, which shows there's something defenitely fishy going on with the current code, but oh well, someone with more time needs to figure out a proper solution