Updated travis script to compile also with C++11 option enabled