tweak datarootdir, exec_prefix and mandir to work directly without shell...

... replacement, fixing the generated smf in the process