Fix "go test -i" to include the proper LDFLAGS and BUILDFLAGS