Modified for PI's ILMBase CMake variable naming convention
Wide characters and file stream I/O fixes to build on Windows
Merge pull request #4 from nyue/master

Wide characters and file stream IO fixes for Windows