core: use memory fences in ring structure

Otherwise, changes are not visible and the code does nothing at all !

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
build: add a script to build native executable (not x86-64) with gcc

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>