Add errcheck to build

This requires dropping support for go 1.1