Fixed --disable-rt, link against -lm