Use the DXSDK_DIR variable when set