Make AtomicCounter use <atomic> on Windows (eventually this will replace it on other platforms), and some installer work.