add missing dev.nix and Makefiles adjust to get phantomjs on nixos