lprof-3.13.patch: more fixes from the first building attempt