Fix for building packages of components.