openbsd build support

hi,
please review, it seems relatively harmless renaming.
openbsd complains about the use of strlen, strcat and strcpy, but I left it for risk reducing.

Regards.

Did this and this discovered this:
http://dhobsd.pasosdejesus.org/index.php?id=Ganglia
no idea who's the author, I'd credit them.
If you know, please creadit them.
Thanks.