Release barrier object, fix build system for the example