Fix errors preventing Artemis from compiling