fix CMake and building osgLua as shared