TS 2116 and TS 2114

TS 2116 - Make buffer_upload plugin build correctly

TS 2114 - remove true/false definition