fnord module

fnord module, some BSD build fixes.