FIX: wrong linking to stage1 files from stage2