Fix a bunch of C++11 deprecation warnings

2 jobs for c++11-deprecations in 10 minutes and 27 seconds (queued for 1 second)