Revert some changes to the proto-compile script so it works correctly again.