build plugins before features