Fix GOROOT problems. Added ftdetect for go.