ensure we can write to $prefix up front when performing install or update operations