Raspberry Pi: Pass the library dirs along to find_library to fix cmake/qt5 builds

The Qt5 cmake scripts didn't respect the hints about lib locations. This fixes packages built with cmake and depending on Qt5. Patch is only applied on the Raspberry Pi, but should really affect all platforms. I'll also file an upstream bug report.