--- ../nginx_upstream_module-aeb8696/config.orig	2017-09-18 11:54:00.000000000 -0400
+++ ../nginx_upstream_module-aeb8696/config	2017-12-04 21:56:41.978227000 -0500
@@ -7,18 +7,10 @@
           $ngx_addon_dir/third_party                               \
           "
 
-test -f $ngx_addon_dir/third_party/yajl/build/yajl-2.1.0/lib/libyajl_s.a &&
-test -f $ngx_addon_dir/third_party/msgpuck/libmsgpuck.a && {
-  libs="                                                                \
-      $ngx_addon_dir/third_party/yajl/build/yajl-2.1.0/lib/libyajl_s.a  \
-      $ngx_addon_dir/third_party/msgpuck/libmsgpuck.a                   \
-      "
-
-  include_paths="${include_paths} \
-          $ngx_addon_dir/third_party/msgpuck                       \
-          $ngx_addon_dir/third_party/yajl/build/yajl-2.1.0/include \
+include_paths="${include_paths} \
+          %%PREFIX%%/include/msgpuck \
+          %%PREFIX%%/include/yajl \
           "
-}
 
 module_src_dir="$ngx_addon_dir/src"
 
