Direct3D version auto-detection logic udpated

Closes #9