fix build obj for gl