Fix i965_dri.so file finding issue

There was some problems in some programs with finding i965_dri.so file.