possible CMake improvements

This may be a regression exactly to where you were prior to adding the local copy of SDL, but the commit diff might provide some other insights.