Add -ldl to LDFLAGS so it compiles on my laptop.