compiling and linking alloca.c, even when it is not strictly required. Also arrange to link with -ltermlib rather than -ltermcap.
now found in procfs.c for hosts with /proc support.