Make sure to build against specific encoder/decoder libraries on OS X.