Fix output window on win32
Fixes for win32 build
Bump version number to 0.13.2.2
Script updates for building OS X binaries