Added compilation flag -std=c++11 to fix compilation issues