In the non-threaded RTS, make *_barrier functions EXTERN_INLINE, not #define.