Check if the compat layer is available before using it

Needs new libhybris (0.1.0+git20130606+c5d897a-0ubuntu26).