fixes undefined method GetConsoleScreenBufferInfo and undefined method GetStdHandle on Windows running Ruby 1.8.7

Added alias_method to fix "undefined method GetConsoleScreenBufferInfo" and "undefined method GetStdHandle" on Windows running Ruby 1.8.7