fix build config