tweaks to try and get _SafeReadRepAccessor working for clang++