Fix import

 * During the migration to supporting 'import lib.iface' we broke
   import in a non-intuitive way. The core of the issue is that
   importing something like 'math.cmp' creates a 'math.cmp' alias, so
   subsequent imports of math.cmp are replaced with a new string.  We
   have to work "with" this change to make everything work out.