changed the way to manage builtin libraries