fix tests compilation on windows