Make perl build with -j

Add some patches from miod@ that add the mising depends.  The
Makefile.SH patch might be able to go upstream, I'll have to find out.
make depend before make all so make -j works

Seems it is very important.
Add an easy way to build_local_perl with -j