Countries rush to build diagnostic capacity as coronavirus spreads