separate --with-opt-dir= handling for rbx

Fixes RBX compilation on OSX - missing `libyaml`