Fixes to freeze script to allow windows binaries.