Fix compilation issue

I noticed the project wouldn't compile and it seems that the macros were misnamed(originally AV_PIX_FMT instead of PIX_FMT), and the library wasn't included.