used std=C++11 flag. Changed README to reflect this