update centos-7 workarounds for ksgen

Change-Id: Ibe54819b9c3594863d90353e507e52624b6201ed