Makefile: Explicitly link against static library

Signed-off-by: Jussi Virtanen <jussi.k.virtanen@gmail.com>