libmath dependency fix
Merge pull request #13 from varunagrawal/varun

libmath linker dependency fix