Moved -lswresample to be last library to avoid build errors

I had to move the -lswresample to be the last library linked or I got unresolved symbols.