fix build endeavoru target error