Fix bug in examples/hello_compatlib test seen on Linux/glibc-2.19