Fix dependency pattern.
Add some libraries that suddenly appeared. Maybe due to NetBSD 6.0?