Fixed missed linking to libm (#18).