Add a couple include directives to allow compilation under FreeBSD.
Invoke compiler as "cc" rather than "gcc", so Makefile works out of the box on systems that have clang but not gcc installed.