Fixed cgo paths and added Travis CI support