Code Modified to remove use of C++11 features.

Tested compilation with VS2012, clang++ 3.4 and g++.