fix build options