North Korea's insistence on building a nuclear arsenal could lie in the NATO-backed toppling of Libyan dictator Gaddafi.