Use $(get_libdir) instead of static for nginx 1.7.2

Fixes https://bugs.gentoo.org/show_bug.cgi?id=510040