small changes
fix cmake variable for cxx
add path
fix for older cmake versions
use pkgconfig under linux