[1-Max Example]: Yet more compilability fixes

Almost done fixing the compilation issues. I think.

Signed-off-by: Sebastian Lenartowicz <slenarto@uoguelph.ca>