Fixed BSD build of Ruby on BSD.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>