Fix compile errors in LoremPetra