Problem: AM_CPPFLAGS not included while compiling selftest program with automake (an issue with the .am file generated by zproject)
Solution: corrected the construction of src_$(project.prefix)_selftest_CPPFLAGS