alias bsearch after checking RUBY_VERSION

If version is greater than 1.9, Ruby in-built bsearch method will be used.