Revert "Try to fix cc detection"

This reverts commit f0044cc163584c7dfd37ad04f11d7ede2f715296.