primus: Hugly hack for Ubuntu

This is an hugly hack for Ubuntu, in order to support all the nvidia
proprietary driver flavors by default.
virtualgl: backport change from r to p & q