full and proper handling of cflags and libs through pkg-config