look for substring pgi in target_compiler instead of explicit match

Greg suggested doing this to make it more robust against future compiler name
changes and that it makes it easier to read (both of which I agree with)