Fixed dependencies and generation of .pc file (issue #28).