Fix build by only testing Go >= v1.2