Fix composer issue when using self.version