Fix Cake script on win32