try to support luarocks