Fixed D3D9 initialization on Windows 8, which doesn't have D3DX