configure: Fix log2f support check at some systems