dont forward declare return values in msvc <= 2010

this is a known compiler bug of msvc <= 2010