No need for this IFDEF, simply use Themes on the same line as Math so that there is no need for the ugly "comma in front" construct.