Modify path of pTex.