A car bomb outside a compound housing a U.S. military contractor in the Afghan capital killed at least two Afghan workers and wounded more than a dozen other people, company representatives and police said.