Make absolute_path method available only for Ruby version 1.9.1 or above.