Merge pull request #309 from sfabbro/master

various fixes to build on gentoo

Tentatively packaging for Gentoo, I made the following fixes:
    add missing cmake modules (not so sure about which FindTBB.cmake was used, but this one worked)
    add possibility to use stock pacparser
    fix configurated include directives
add possibility of using system googletest
conditional checks for dependencies