remove unnecessary build components