Since the goroot is not required environment setting, so make it an
optional one.