Pass gem's version information to compilers.

Some gems want to set version as a constant value in mruby (like Ruby-serialport.)