Updated compiler detection code