Fix configure libavformat / libavcodec
Improve #ifdef for not i386 / x86_64 for emms