Replace use of 'auto' for variables. This is only allowed in C++11.