Make build pass on windows