Oops, forgot to compile before testing.

Fixes a couple compilation errors.