Now linking against libm (fixes a linux specific bug).