VS2010 compatibility fixes

Removed a lot of functionality that requires C++11 features but that we
aren't using right now. If we ever use them in the future we will need
to replace them with non-C++11 compatible versions.