Add support for pkgconfig for libopenvswitch

Also fixes a compile error