when compiler == 'gcc':
when compiler != 'gcc':

That wasn't so hard now, was it :)