Fix linking for MSVC (needed at least for VS2012)