fix build env