Add missing libm dependency to demos

I try to build libharu with demos by CMake, it fails because of missing link with math library.
This commit fix them.