Fix build on non-Linux

http://hydra.nixos.org/build/5662914