NATO says a bomb malfunction resulted in civilian deaths in Libya.