This is just a guess not having a look at the source or slackbuild. a configure script usually allows you to provide alternative paths. './configure --help' will provide details of such options
Code:
<snipped>
--libdir=DIR object code libraries [EPREFIX/lib]
<snipped>
For example this is from the libdaemon.Slackbuild, note the entry for libdir. That would have to change in your slackbuild. Edit your slackbuild accordingly and see how it goes.
Code:
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--build=$ARCH-slackware-linux