Speed: Use compile time endian check if available

* Faster performance