unified GetD3DCompiler() function