Add cpputest package as requirement

It is used in unit testing.
Fix compilation with Clang compiler

Warning -Wlogical-op is only available on GCC.