FIX: Use -ldl even in static programs to permit dlsym()
CLEANUP: Upgrade paks.