Fix internal error at lane creation when the generator doesn't open any base library

Fix issue #77.