This makes a from-tree installation work. We also do this in the rpm spec file. Contributed by Pieter D.J. Krul