Spiced out the CompileLinkStage from BuildPlan.

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