Add -DNONRELEASE (for thread macros) and OSX libs
Remove old code
Use latest libbarobo