linux fixes for ASNResolver