VS 2010 - compile bug fix

VS 2010 - compile bug fix