Fix compiler error when using Max SDK 2008.
Fix typo in MaxCompat macro.
Merge pull request #239 from Deledrius/max2008_fixes

Max2008 fixes