correctly set opt_dir when building ruby-head, fix #3179
merge #3181: correctly set opt_dir when building ruby-head for freebsd
fix #3179
install clang/llvm on debian/ubuntu for rubinius
use cc/cxx options for rubinius configure on debina/ubuntu