add -lpopt to tests.

Signed-off-by: Sean Ogden <positivelyskewed.sf@gmail.com>