[PATCH 6.1 034/634] samples: work around glibc redefining some of our defines wrong