Fixed linker error on Windows