cmake: workaround luarocks limitation (concerning lua library in use)