fix platform pattern regexp
use RbConfig::CONFIG[host_os] instead of RUBY_PLATFORM  #13