This resolves issue #73 by replacing the use of log10() with an integer version so that -lm is no longer required. The parts of dmsetup that we use don't need threads, so -lpthreads is removed from the link line.