fix for gnu compiler version detection