Fix build break for version group > XS

Add finer grained control over required version number - specify
it as a compiler define:

-DMAX_REQUIRED_QR_VERSION=X