Another issue compiling Digikam 2.0.0 stable on my Slackware current 64 bit (post 13.37)

This error is spit after compiling:

Linking CXX shared module ../../../lib/
/usr/lib64/gcc/x86_64-slackware-linux/4.5.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/share/opencv/../../lib/ when searching for -lGL
collect2: ld returned 1 exit status
make[2]: \*** [lib/] Error 1
make[1]: \*** [extra/kipi-plugins/advancedslideshow/CMakeFiles/kipiplugin_advancedslideshow.dir/all] Error 2
make: \*** [all] Error 2

For whatever reason it tries to use the 32 bit version of from /usr/lib Since I was annoyed at this point so I simply renamed /usr/lib to /usr/lib.old and compiled digikam than reverted.