Modify flx so it uses library flx_pkgconfig instead of shell callout.