use find-headers.mk to detect header files instead of using absolute path.
does not build with lua52
Use find-headers.mk to detect available endian.h.