Clean up internet access cmake logic