Make D3D display driver not assume the type of the default shader again.

Also makes it possible to compile without the HLSL backend.