Adapt to the recent chanegs in go/types and go/importer.
Remove unnecessary complier barrier.