libutf: fixes for warnings under mingw32-make
build: optional file extension in config.mk