VC++2008 Compile Fixes