Fix for correctly specifying priv directory