Support {C,LD,CXX}FLAGS from enviornment

This probably shouldn't be used by end users because dependencies
aren't cleanly handled ("CFLAGS=a make; CFLAGS=b" make won't make
anything the second time).  This support is really for packagers, to
make pconfigure easier to integrate into their package managers.

Warning: this is a backwards-incompatible change.