Unified code style.
Moved system endianess detector.