Use g++ even for C

This seems to fix the build errors on Linux. Get a better UNIX, grumble.
Also, sorry for the undescriptive commit messages, can't write well when
you're screaming at the compiler.