Modified protobuf.pri to use output directory when linking and to create
the gen_proto directory for the automatically generated protobuf headers
whenever necessary.