pkg-config instead of CFLAGS
"unexpected type: ..." fixed