Improve use of GetLocaleInfoW in string formatting - make sure we go to UTF8 correctly

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Rejig some Makefile dependencies

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>