librtmp: call *-pkg-config only for static builds