Fix imports and typos for acorn compiler