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