F19 fixes

These are fixes needed to run mock-with-analysis on Fedora 19 for analyzing f18 and f19 packages that use autotools. Feel free to cherry-pick those that make sense.