Hi, thanks for report and the patch. I've picked up your modification and added it to package's Git repository. The next version of the package will build with that method:
https://salsa.debian.org/modsecurity-packaging-team/modsecurity-apache/-/blob/master/debian/rules#L19 Thanks, a.

