Fix compiling with provided VS 2005 projects