Fixed issues and added libcap package