Add automatic CPU type detection