Fix Util module to work on Windows
Merge pull request #518 from davispuh/util_fix_win

Fix Util module to work on Windows