Fix removal of python precompiled files.

Test: ndk/checkbuild.py && \
    find out/android-ndk-r17-canary/prebuilt -name '*.pyc' -o '*.pyo'
Bug: None

Change-Id: I17b0f50f9cf1bd42206cbdb2dcf8255ad3395baa
diff --git a/build-python.sh b/build-python.sh
index a68253f..f1fdc05 100755
--- a/build-python.sh
+++ b/build-python.sh
@@ -446,10 +446,10 @@
     local PACKAGE="$PACKAGE_DIR/$PACKAGENAME"
 
     # Remove python tests
-    find $BLDDIR/host-tools/lib/python* -name test -o -name tests -exec rm -rf {} \;
+    find $BLDDIR/host-tools/lib/python* \( -name test -o -name tests \) -exec rm -rf {} \;
 
     # Remove precompiled files
-    find $BLDDIR/host-tools/lib/python* -name "*.pyc" -o -name "*.pyo" -exec rm -rf {} \;
+    find $BLDDIR/host-tools/lib/python* \( -name "*.pyc" -o -name "*.pyo" \) -delete
 
     dump "$(bh_host_text) $PACKAGENAME: Packaging"
     run pack_archive "$PACKAGE" "$BLDDIR" "$SRCDIR"