--- Makefile.PL.orig	2011-01-05 12:03:35.000000000 -0600
+++ Makefile.PL	2011-01-11 04:44:10.000000000 -0600
@@ -10,8 +10,8 @@
 
 requires_external_cc();
 
-cc_inc_paths('/usr/include/openssl', '/usr/local/include/ssl', '/usr/local/ssl/include');
-cc_lib_paths('/usr/lib', '/usr/local/lib', '/usr/local/ssl/lib');
+cc_inc_paths('@PREFIX@/include/ssl');
+cc_lib_paths('@PREFIX@/lib');
 
 cc_lib_links('crypto');
 cc_optimize_flags('-O2 -g -Wall -Werror');
