o Add missing -lm;

o add new *.[ch] files.
Export variable that is used by the fbsd_vid.c.
Make this compile/work on the latest FreeBSD.