Fix build type setting.