Adding -std=c++11 compiler flag