Adding libstdc++4.8 && passing -std=c++11 to g++