Updated travis, make cmakelist file work standalone.