Revert "Revert c++11"

This reverts commit 33a54cb1a359953aa36526875aebd65d288ea116.
This has been tested on OSX 10.10 and Ubuntu 14.04.