[Bug 27833] Direct3D-9 math compilation failure, due to missing NAN and INFINITY