Fix buildscript for win32