Fixes linker errors in Visual Studio