Fixing a lot of compile errors. Barista now compiles on GNU/Linux... but does it work?