Add -I lib if lib exists in package