The state government has appointed Crothers Construction to build a new primary school in Perth's north, awarding the company a $48 million contract.