popt: build as static library

Signed-off-by: Stephan Raue <stephan@openelec.tv>
rsync: depends on popt

Signed-off-by: Stephan Raue <stephan@openelec.tv>