lua : fix build with lua disabled