fixing compilation on centos6, first attempt at 64bit RA mix handling