build would likely fail with latest master due to static libs. if so, try
```
export LDFLAGS="$LDFLAGS -ldl"
```