Makefile: Improve libav selection

See #447.
piano: Fix include guard of crypt.h

Missed that one in 4d8ad7d87072bc1631d0b949930f4869e56b7b99. Fixes #449.
Print error message when proxy URL format is incorrect