Upgrade build to use C++11