The heterotic string, the tangent bundle and derived categories