Make sure prefix is actually honoured by configure.
Temporary hack for redhat users to enable NPTL.

diff --git a/tools/wineinstall b/tools/wineinstall
index 691a60a..70b178c 100755
--- a/tools/wineinstall
+++ b/tools/wineinstall
@@ -152,6 +152,11 @@
 echo "WINE Installer v0.74"
 echo
 
+# check for redhat 9 so we can enable --with-nptl until runtime detection is complete
+if cat /etc/redhat-release | grep Shrike &>/dev/null; then
+    CONFARGS="$CONFARGS --with-nptl"
+fi
+
 if [ "$BINDIST" = 'no' ]
 then {
 
@@ -227,7 +232,7 @@
   else {
     echo "Running configure..."
     echo
-    if ! ./configure -C $CONFARGS
+    if ! ./configure -C $CONFARGS --prefix=$prefix
     then {
       echo
       echo "Configure failed, aborting install."