Split dependencies for Windows and non-Windows. fixes #2249

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
_auto_deps.py: cosmetics.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>