Use spinlocks on OSX, and longer spin counts on win32