Fix gem install for openbsd

BSD make has no -C switch for changing the directory before executing
task. The easy workaround is to change the directory in ruby rather then
with make.