It should link to the APR so. The htpasswdSecurity so should be built in 'plugin' mode in order to skip the dependency check (for systems that support it)