perlPackages.ack: fix build on darwin

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