Revert "Making protobuf a runtime dependency"

This reverts commit 121c57a63c5a90664d3e6c026a3c5da45a7a5fcd.