Add -O -threaded for win32