Fixed an issue that caused protoc to fail when not using shadow builds