shell.go now support build flags

Add the possibility to provide build flags through $GOFLAGS environment variable