Build fix for Windows