Trying to make it compile on windows