changed cxx compile flags from append to set; using (u)int64_t from cstdint instead of long long types for 64 bit integers, will test on MSVC if the define can be removed once and for all