fixed compile issues on mac