Windows support added - this closes #5