Ex-Libyan oil minister released from captivity