fix GOROOT path and take care of crlf