Don't hardcode the libtool specific build path in the configuration file, but in the build declaration instead.
Test the PAM module using pam_wrapper and our mock fprintd. See https://lwn.net/Articles/671094/ Note that this requires a version of pam_wrapper with this bug fixed: https://bugzilla.samba.org/show_bug.cgi?id=14245