detect lrint on clang