Rework compiler detection