issue #1683: Fixed compilation error for Win32.
Merge pull request #1895 from dumganhar/iss1683-refactor-ccfileutils

issue #1683: Fixed compilation errors for Win32.