Add missing libraries to some program Makefiles

The userland programs they manage are currently building fine but
fail to link in a completely dynamic world with shared libraries
split between /lib and /usr/lib .
swapon(8): Fix wrong constant parameter for function call

Reported-by: swildner