Partially solved regression introduced in last commit. Still needs a workaround
for supporting external dll
Fix for compiling bundled gems when libmruby.a depends on external dynamic libs.