nmap: fix linking bug