Fix priv directory lookup