Use pkg-config for curl build options

References #63

Still need to fix debian and rhel packaging