Fix luarocks version comparison.
Fix luarocks version comparison.

When versions were mixed between things like 1.3-1 and 1.3.1-0, our
version comparison was getting mixed up. This is a bit of a hack, but
seems to do the trick.

apinf/api-umbrella,NREL/api-umbrella,apinf/api-umbrella,apinf/api-umbrella,apinf/api-umbrella,NREL/api-umbrella,apinf/api-umbrella,NREL/api-umbrella,NREL/api-umbrella