Added gcc compatibility