removing packages not relevant to build