Thanks for the bug report. Building the package used to work fine, so I'm suspecting the pthread detection scripts have started failing with glibc 2.28, which was updated recently.
I will look into the issue. If you have any idea why it might be occurring, please share.