This broke libaom optimization detection, since cmake appears not to set vars like CMAKE_SYSTEM_PROCESSOR if CMAKE_SYSTEM_NAME is set.