The plugins need to use the correct library dir

The library directory was previously hardwired for lib, but it can be
lib64 depending on the build configuration. Configure in the library
directory and use that.

Change-Id: I2352816ddb6bd642d04a6de8c1815798985ccfdd
Merge branch 'plugin-lib-dir'