Fix some MaxMain compile failures introduced by Hoikas' recent cleanup
Merge pull request #379 from zrax/maxmain_compile

Fix some MaxMain compile failures introduced by Hoikas' recent cleanup