Fix bug for other compiler than gcc