Fixed handling of system prerequisites for multi-level project hierarchies

Signed-off-by: Frank Mertens <frank@cyblogic.de>