Configure Nix package names for bz2 and crypt libraries.

Required for <https://github.com/NixOS/nixpkgs/pull/2264>.