Changed flag from -std=c++11 to -std=c++0x becasue of error on travis gcc compiler