Fix VS2008

Removed use of `auto` keyword introduced in #540.