Fix bug in Window's version of is_directory function
Set multi-byte character set for Windows projects