btxld: Makefile fix and revert to use endian.h