esniper: fix build on darwin

Fixes http://hydra.nixos.org/build/5356939