fixes linker error on windows