fixed a bunch of small typos that prevented compilation on C for ab initio
made minor tweak in salt.jl to recognize saltlib in pwd