Fix TOSDIR variable resolution in additional project settings