I think we need the Direct X 9 SDK installed, at least that's what the d3dx9math.h its searching for is from.