Fix libdmtx build by relexing library name check

Submitted by:	Mikhail T. <mi@aldan.algebra.com>


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@372976 35697150-7ecd-e111-bb59-0022644237b5