git describe based version number support for CPack

Also a little cleanup in the DirectX find module