Add missing old "format" library

plus windows Build.bat file for compiling command line tool