Fix packages building