cmake for win32

Two corrections for compilation processes