added dirname to protobuf desc location to avoid error when deployed