Backported line info improvements from 7.5 since it can be a major bonus to
have this when tracking down bugs:
Provide line number info for C programs even when compiling without
rtldebug, but strip off the path to the build tree. Let Function.defined
return the line number info for the program when it's a C function that
doesn't have any line info itself.