Remove packages before build