fix how we set 'THIRD_PARTY_ROOT' as cache variable