fixed mac and linux versions

linux versions are not tested