fix bigendian convertion (support for old CentOS'es).
Merge branch 'stable'