Fix Windows support (minimally). Closes #13.