(cmake) Fix compiler options
(setup) Update procedure for win32
Revert commit 975110da