Fix compilation in case of HAVE_LOG2F check fails spuriously