tools: add GNU sed

Signed-off-by: Rafaël Carré <funman@videolan.org>
tools: set CPUS correctly on Solaris

Signed-off-by: Rafaël Carré <funman@videolan.org>