[Docs] Fixed build script detecting moai and doxygen.