fix build type configuration