build, windows: allow override of python executable

Fixes #723.