Replaced D3DX with D3DCompile