Original commit message from CVS: various fixes to make it possible to build rpms from gst-plugins head