--- /dev/null
+--- a/Expat/Makefile.PL
++++ b/Expat/Makefile.PL
+@@ -2,6 +2,9 @@ use ExtUtils::MakeMaker;
+ use Config;
+ use English;
+
++$expat_libpath = '%%EXPAT_LIBPATH%%';
++$expat_incpath = '%%EXPAT_INCPATH%%';
++
+ my $libs = "-lexpat";
+ my @extras = ();
+