packaging fixes on Windows