The Makefile patch forgets to add --shared to the last GENERIC case of `uname -s`.
Created attachment 161162 [details, diff] Updated pam_passwdqc-1.0.5-makefile.patch
Committed the fix after Diego's ok.