VS fixes, removed tr1/memory include as this is now in core and removed assert in LUT pass