added some pkg-config support