let rs to support both linux and osx