CMakeLists.txt: Fix lua bindings dependencies