Including changes from Ian Holsman to build under Red Hat 7.3. Fixing some problems with the /usr/local path change.