Make flags agree with the TEA build