go1.1 changed the size of an int on 64bit architectures from 32bits to 64bits which causes weird issues when casting ints from c-land
Revert "go1.1 changed the size of an int on 64bit architectures from 32bits to 64bits which causes weird issues when casting ints from c-land"

This reverts commit 389a10d38e72e7ea1c4cc525d81486a869a8e911.
Merge branch 'master' into go1
Fixed cgo paths and added Travis CI support