switch to the ref compatible version, the source and the binary(gcc) gets more bloated but packs refereces correctly