Revert "build: Take advantage of has_function argument"
This reverts commit 70128710. It turned out that this argument doesn't exist which causes build issues on systems that don't use GNU C Library.
Fixes: #712 (closed)
This reverts commit 70128710. It turned out that this argument doesn't exist which causes build issues on systems that don't use GNU C Library.
Fixes: #712 (closed)