Fix to VC2008 builds

Also fix to Model loading