Fix d3dx9d_24.dll related errors in Windows 7, 8 or 10