Fixed compiler detection bug