Fixed compilation errors for old GCCs
Made templated input::Link compile