Fix building on ubuntu 12.04 (pg 9.1.14).

This is becoming more complicated by the minute... Forced me to split
out the patches so we search for specific version patches, for minor and
version patches, then apply them in order. If this grows beoynd this
perhaps we need to reconsider doing it this way.
As apache 2.2 (ubuntu 12.04) uses apache config files without .conf
extension and newer versions require the extension, adapt the build and
install to match both scenarios.