Fixed compilation for UNICODE on Windows