{st,targets}/dri: use static/dynamic pipe-loader