Fix missing is_windows function

Fixes #17 temporarily, may require future refactoring to remove duplication.