Corrected linking error in MSVC 2010 build + perf/projects compilation

Build tested under VS2008 & VS2010, Debug & Release
(Win32 only, not x64)