endian.h in different directory on osx