examples/hello_compatlib: more complex test for COMPATLIBS (fix recent)