Swtiched to std=c++11