Fixed compiler errors with gcc
Fixed compiler error with gcc