[PATCH 6.6 039/737] samples: work around glibc redefining some of our defines wrong