Build system changes for easier builds, both manually and on RedHat-like systems

Some of the libsnet changes are ugly, but everything works and builds on the systems I've tested (LFS/UMCE Linux, RHEL, CentOS, and Ubuntu.)