Better approach to finding priv_dir.