Captain martyred in North Waziristan