beret: Fix build on darwin

Fixes http://hydra.nixos.org/build/5677943

Also fixes `pulseaudio` and `SDL` on darwin, so probably fixes a bunch of other stuff