Fix for issue #1363

Fixed a warning message (issue #1363 ) when using ruby >= 2.0.0: syck is used if it is defined, otherwise psych (the new default one) will be used