nvidia-x11: Fix the library-only build

Also, introduce a function ‘versionAtLeast’ which is probably more
natural than ‘versionOlder’.