Cygwin build: Fix package generation routine