compatible with osx
set RUBY_PLATFORM to attribute platform
add method Nuri#platform