Fixes ppc64le platform detection
---
--- a/build_tools/build_detect_platform
+++ b/build_tools/build_detect_platform
@@ -630,7 +630,7 @@
 if test -z "$PORTABLE"; then
   if test -n "`echo $TARGET_ARCHITECTURE | grep ^ppc64`"; then
     # Tune for this POWER processor, treating '+' models as base models
-    POWER=`LD_SHOW_AUXV=1 /bin/true | grep AT_PLATFORM | grep -E -o power[0-9]+`
+    POWER=`cat /proc/cpuinfo  | grep -m1 -E -o POWER[0-9]+ | awk '{print tolower($0)}'`
     COMMON_FLAGS="$COMMON_FLAGS -mcpu=$POWER -mtune=$POWER "
   elif test -n "`echo $TARGET_ARCHITECTURE | grep ^s390x`"; then
     COMMON_FLAGS="$COMMON_FLAGS -march=z10 "
