Bugfix compilation Windows