Fix running outside projects.