Add build_lib_only mode.

This patch aims for cross environments. Some can be build libmruby.a but cannot build executables in mruby world.