Sanitize environment for normal users; make the thing compile under g++ 4.8.

g++ is dumb.