Fix handling of standard library modules.