sphde: Fix shared build on powerpc64le

This patch fixes the configure shared build detection for powerpc64le.