Mainly win 32 and cmake

Fixes for using standard install on linux (into usr) and for using win32 installer