Fixed NIX compilation