fix copysign for clang