Fixes and improves travis ci build

Changes -std=c++11 to -std=c++0x!