Update m4/ax_count_cpus.m4 to support W32
Use number of CPUs in tests and examples