fix Compiler.keep not including private subtypes and subtypes in modules in the root package.