fixed issue with missing -std=c++11 on g++