Add compilation flags and able to use a template in the judge plugin