use a fix (proposed in http://goo.gl/kGWU5P) for decltype of MSVC 2010