Updated build to use travis-ci
Fix issue with cmake builds