Error messages got a little bit better. Still should use some proper function to convert from UTF-16. Fixed potentially broken building on Windows