buildsys: Use CMRT_LIBDIR instead of CMRT_LIBRARY_DIRS
buildsys: Use CMRT_LIBDIR instead of CMRT_LIBRARY_DIRS

CMRT_LIBRARY_DIRS doesn't include any library paths
when the library is installed system-wide, such as
/usr.

Also dlopen versioned library, as distros tend to
split non-versioned sonames into -devel packages.

Signed-off-by: Armin K <608b3d159e0c9225030196fb6523d331979bd9a3@email.com>
Reviewed-by: "Guo, Yejun" <1f883e24fa2949df61a83c432caa290810cece11@intel.com>

wdv4758h/beignet,wdv4758h/beignet,wdv4758h/beignet,wdv4758h/beignet,wdv4758h/beignet