Fixed compilation error in 'load_entity_lib'.