Using system check framework when available, with fallback in case of problems to the embedded one

I don't think travis will succeed in this, because check on debian is missing the "so" file.

Debian bug

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727691