core: Import 'libcap' from official.
core: Update 'libcap'.