make CLI work with any bit depth version library

Issue #98 resolved
djcj created an issue

At the moment the CLI that was build with bit depth set to 8 does only work with the 8 bit library. And to run a 10 bit shared library you need to compile a separate CLI.

This can easily be changed as suggested here by Sebastian Ramacher: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775181#10

This would prevent packagers from adding a redundant binary.