Remove lib/recast extension module.

Recast can and should create its own extension types.
Add missing imports of built-in types.