[PD-dev] Patches for automated build testing (was Re: buildbot or some other proper build automation)