fix unix compiler issue