[cvs-nhc98] patch applied (nhc98): re-arrange library package build order to respect mutual dependencies