Fix for syntax extension parsing

When building applications, they should be flattened (i.e. take all
arguments at once) since we assume that's what the parser does
elsewhere.