Some linker errors on win, was this necessary?