Add options and dependencies for some libs