allows configure-run test programs to find the right include files and libraries. Breakage reported by: many Fix submitted by: adamw