Link with util library instead of rebuilding format.cc.
Fix the path to bootstrap script.
Remove sh.exe from the path as it breaks MinGW makefile generation.