r14501: Re-add nicely working hack to allow running from the builddir