Added configure options and generator for gem installation