Fix packages for freebsd10
Add gcc-c++ to dependency packages for fedora