Only create the container if the ContainerBuilder class is available.