lttng: Support --with-lttng=check

Signed-off-by: Adam Crume <adamcrume@gmail.com>