Fix build to properly compile the protobuf resources