Max2008 fixes

Fixes a typo and a compiler error which occurs when building with 3DSMax 2008's SDK.