Make necessary configuration changes to package in Nixpkgs

Separate PATH variables of llvm and clang and add a PATH variable for java runtime.

Add a way to override the sanity file location otherwise this may cause failures of either emscripten or the nix store because the configuration file is stored in a read-only directory which can be verified with checksum after installation.