fix alsa build; fix i686 gcc build