Fixed build on FreeBSD 10.1 from git sources. kinfo_getproc was missing identifier.
also minor c++ include's fix.