Fixed issue where libraries for libcap were located in wrong place