Attempt at fixing linker errors on windows.