luci-base: Add option to check linked libraries