check endianness only once on runtime.
Merge branch 'check_endianness_once' into development