Tweak regressions.

By checking if the shared library is linked against liblzo2 or libfastlz
we know if a certain compression method is available on the platform.

Also added the lzo tests now to the default tests run under cdash as
it can now also check if LZO2 compression is available.