test-path-util,test-sched-prio: uninitialize manager to appease valgrind
shared/install: fix trivial memleak

We lost the reference when setting path second time.
Revert "build-sys: don't enable color gcc on dumb terminals"

This reverts commit cd3069559a09b4e4f85a6f02aa8f0521f48359ca.

Emacs compilation can be fixed by putting
(custom-set-variables
 '(compilation-environment (quote ("GCC_COLORS="))))
in ~/.emacs.