Make endian define more convenient to use
Merge branch 'master' of https://github.com/Eyescale/CMake
Fix endian detection