Use code:priv_dir/1 to find priv directory

Remove the hokey configuration-based hack for finding the priv
directory. Turns out that there is already a simple function call for
this in the code module.

make ct passes