BF: do not link smlr.so against libm on Windows