859 academies, sixth-form colleges and voluntary aided schools will receive funding to improve their school buildings.