Several adjustments to the build environment as mentioned on the mailing list

Details here:
http://lists.adiscon.net/pipermail/rsyslog/2014-November/038993.html