Implicit legacy compile (Fixes #117)

Can we call that only if gadget is legacy gadget? We can add method `isLegacyGadget` to manifest helper.