(MSVC 2003) Fix some linking issues