Trying to fix Pages build errors