lib: fix pkgconfig usage in curses module

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>