adjust example to work on hypnos

This fixes an error with `gcc/4.6.2` and `cmake on hypnos, where `/src/configure` stops working because a default gcc test creats an error.

See HZDR support ticket `4414` for more details.