tools: Fix problems running make-srpm without autogen.sh first