DX9: adjusted library/include paths and accounted for half-texel offset in DX9.