libtheora test programs do not build on Solaris
Building libtheora 1.0beta 3, the programs granulepos, granulepos_theoraenc, and granulepos_theora do not build on Solaris because they need "-lm" added to the link statement. I am attaching a patch that fixes this problem.