fixing compilation when there is no int64_t or uint64_t
added compile-time test for floating point endianness