Fixed Windows deploy scripts.
Prepared release 3.1.0 (deployment).