Build: ensure the install-prefix works on Windows, backslashes needs to be escaped and it should always be in utf8