fix build on non-windows
Merge pull request #1 from pah/fix/non-windows

Minor fix to allow build on non-Windows platforms