Hex conversion for unsigned in format().
One more unsigned to_string_with_flags function.
Fixed to_string_with_flags for uint8_t.
Some fixes due to fallback to old compiler. Also remove -lncurses (wasnt used).
Fixed for MinGW crosscompiling.
Fixed Makefile to produce .dll on MinGW environment.