Revert "Fix the rule for compiling protobuf files"

It breaks the build

This reverts commit f05e7c34e639b2f237faec467f4e51b77433f87d.