fix protobuf extension registration workarounds
add file I forgot to add earlier