link flag fix.

Missing `-ldl` in `LDFLAGS` may cause compile error.