php: fix DynDep in libfoo.pl and install package in Makefile