Fixed the publish release script for windows.