Fixes for Max plugin compilation when not using PCH
Merge pull request #410 from zrax/pch_max_fixes

Fixes for Max plugin compilation when not using PCH