use betoh64 instead of be64toh in android
http://stackoverflow.com/questions/11702311/cross-compiling-using-ndk-undefined-references-to-le32toh-and-be32toh