Explicit link all needed libraries (fixes build on Debian 7).
Expect classads with namespace if it can't be detected automatically (fixes build on Debian 7).