Fixed, it was a problem with GOBIN being set.