Change the way in which counting loaded modules excludes modules built in