Make C++11 the default for GPU builds as well. Also revert the changes that broke the multithreaded tests.